//
//  MQComposeViewController.swift
//  MQWeibo
//
//  Created by 毛强 on 16/1/4.
//  Copyright © 2016年 itheima. All rights reserved.
//

import UIKit

class MQComposeViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
    }
    
    private func setupUI(){
        view.backgroundColor = UIColor.whiteColor()
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "返回", target: self, action: "back")
    }
    @objc private func back(){
        dismissViewControllerAnimated(true, completion: nil)
    }
}
